package com.breeze.components.task.xxl.model;

import java.util.Date;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 执行器实体类(来自xxl - job源码)
 *
 * @author breeze
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class XxlJobGroup {

  private int id;
  private String appname;
  private String title;
  // 执行器地址类型：0=自动注册、1=手动录入
  private int addressType;
  // 执行器地址列表，多地址逗号分隔(手动录入)
  private String addressList;
  private Date updateTime;

  // 执行器地址列表(系统注册)
  private List<String> registryList;
}
